﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucProductCategory.ascx.cs"
    Inherits="QuocTeViet.AdminCP.PageUC.ucProductCategory" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dxpc" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<h2>
    <asp:Label runat="server" Text="" ID="lblAction"></asp:Label></h2>
<div>
    <table>
        <tr>
            <td class="tdTitle">
                Danh mục cha
            </td>
            <td class="tdContent">
                <asp:DropDownList runat="server" ID="ddlDanhMucCha" AppendDataBoundItems="true">
                    <asp:ListItem Text=".: Danh mục cao nhất :." Value="0"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="tdTitle">
                Tên loại sản phẩm
            </td>
            <td class="tdContent">
                <asp:TextBox runat="server" Text="" Width="250px" ID="txtTenLSanPham"></asp:TextBox>
                <asp:TextBox runat="server" Text="" Width="250px" ID="txteTenLSanPham" Visible="false"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <td>
            Ảnh đại diện:
          </td>
          <td>
            <asp:CheckBox ID="check_Del_img" runat="server"  Text="Xóa"  Visible="false"/>&nbsp; <asp:Image ID="imImages" Width="30px" Height="30px" runat="server" Visible="false"  /> &nbsp;&nbsp;<asp:FileUpload ID="fileUploadImage" runat="server" /> 
           
          </td>
        </tr>
        <tr>
            <td class="style8">
                Mô tả:
            </td>
            <td class="style9">
                <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Width="100%">
                    <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Mô tả:">
                        <ContentTemplate>
                             <%--<CKEditor:CKEditorControl ID="txteMoTaa" runat="server"></CKEditor:CKEditorControl>--%>
                             <CKEditor:CKEditorControl ID="txteMoTa" runat="server" Width="98%">
                            </CKEditor:CKEditorControl>
                        </ContentTemplate>
                    </asp:TabPanel>
                    <asp:TabPanel ID="TabPanel4" Visible="false" runat="server" HeaderText="Mô tả TA:">
                        <ContentTemplate>
                            <%--<CKEditor:CKEditorControl ID="23" runat="server"></CKEditor:CKEditorControl>--%>
                        </ContentTemplate>
                    </asp:TabPanel>
                </asp:TabContainer>
            </td>
        </tr>
        <tr>
            <td>
                Số thứ tự
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtOrderID" Width="70px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                    ControlToValidate="txtOrderID"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeValidator1"
                        runat="server" ErrorMessage="Nhập số" ControlToValidate="txtOrderID" Type="Integer"
                        MinimumValue="0" MaximumValue="100"></asp:RangeValidator>
            </td>
        </tr>
    </table>
    <br />
    <asp:Button runat="server" ID="btnLuu" Text="Lưu" OnClick="btnLuu_Click" CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css"
        CssPostfix="Soft_Orange" />
    <asp:Button runat="server" ID="btnHuy" Text="Hủy" OnClick="btnHuy_Click" CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css"
        CssPostfix="Soft_Orange" />
</div>
